﻿#region
/*******************************************************************************
** File Name:		    MemberInfoRepository.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using EWineShop.Entity;
using EWineShop.Respository;
using IBatisNet.DataMapper;
using EWineShop.Data.IBatis;

namespace EWineShop.IBatisRepository
{
    public class MemberInfoRepository : BaseIBatisDao,IMemberInfo
    {
    
		#region  Auto Generation

        public MemberInfoRepository()
            : base("/Config/IBatis/EWineShopMap.Config")
        {

        }
        		
        public void AddMemberInfo(EMemberInfo entity)
        {
			string stmtId = "MemberInfoMap.InsertMemberInfo";
			base.SqlMapper.Insert(stmtId, entity);
        }
        

		#endregion
    }
}

